<template>
  <div class="layout">
    <el-container class="lay-container">
      <!--左侧组件-->
      <common-aside/>
      <el-container>
        <el-header>
          <common-header class="el-header"/>
        </el-header>
        <common-tab/>
        <el-main class="right-main">
          <router-view/>
        </el-main>
      </el-container>
    </el-container>
  </div>
</template>
<script setup>


import CommonAside from '@/components/CommonAside.vue'
import CommonHeader from '@/components/CommonHeader.vue';
import CommonTab from '@/components/CommonTab.vue'
</script>

<style scoped lang="less">
.layout{
  .lay-container{
    height: 100%;
  }
  .el-header{
    background-color: #fff;
  }
  .right-main{
    background-color: #f7fafc;
  }
}
</style>
